﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="UserAddMoneyDetail.aspx.cs"
    Inherits="qy_54tss_Admin_User_UserAddMoneyDetail"      ValidateRequest="false"  enableEventValidation="false"%>

<%@ Register Src="~/Admin/Banner.ascx" TagName="TogoBanner" TagPrefix="uc1" %>
<%@ Register Src="~/Admin/Adleft.ascx" TagName="left" TagPrefix="uc3" %>
<%@ Register Src="~/Admin/Foot.ascx" TagName="Foot" TagPrefix="uc2" %>
<%@ Register TagPrefix="epc" Namespace="Hangjing.Control" Assembly="Hangjing.Control" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>分站费用明细-<%= WebUtility.GetMyName() %></title>
    <link href="../css/reset.css" rel="stylesheet" type="text/css" />
    <link href="../css/menu.css" rel="stylesheet" type="text/css" />
    <link href="../css/boxes.css" rel="stylesheet" type="text/css" />
    <link href="../css/divDialog.css" rel="stylesheet" type="text/css" />
    <!--[if IE]>
    <link rel="stylesheet" type="text/css" href="../css/iestyles.css" media="all" />
    <![endif]-->
    <!--[if lt IE 7]>
    <link rel="stylesheet" type="text/css" href="../css/below_ie7.css" media="all" />
    <![endif]-->
    <!--[if IE 7]>
    <link rel="stylesheet" type="text/css" href="../css/ie7.css" media="all" />
    <![endif]-->

    <link href="../javascript/autocomplete/jquery.autocomplete.css" rel="stylesheet" />

    <script type="text/javascript" src="../javascript/DatePicker/WdatePicker.js"></script>

    <script src="../javascript/jquery-1.3.2.js" type="text/javascript"></script>

    <script src="../javascript/Common.js?v=17" type="text/javascript"></script>

    <script src="../javascript/ScollTop.js" type="text/javascript"></script>

    <script src="../javascript/ShowDivDialog.js" type="text/javascript"></script>
    <script src="../javascript/autocomplete/jquery.autocomplete.js?v=0108"></script>
    <script src="../javascript/selectlinkage.js?v=1.0"></script>


    <script language="javascript" type="text/javascript">
        $(window).load(function () { $("#loading-mask").hide(); });
        AddLoadFun(init);

        var Table;
        function init() {
            Table = new CheckTable("grid_table");
            $(".grid_data tr").mouseover(function () { $(this).addClass("on-mouse"); }).mouseout(function () { $(this).removeClass("on-mouse"); });
            $(".grid_data tr:even").addClass("even pointer");
            $("#loading-mask").hide();
        }

        function Del() {
            var nums = Table.GetChecks();
            if (nums == undefined || nums.length == 0) {
                alert("请选择要删除的记录!");
                return false;
            }
            document.getElementById("hdDels").value = ArrayToString(nums);
            return DelConfirm();
        }

        function loading() {
            $("#loading-mask").show();
        }

        function loadover() {
            $("#loading-mask").hide();
        }

        function $I(eid) {
            return document.getElementById(eid);
        }

        $(document).ready(function () {
            var searchdeliverurl = "/ajaxHandler.ashx?cityid=" + request("cid") + "&t=" + Math.random(1) + "&method=searchdeliverGroup";
            $("#delivergroupText").autocomplete(searchdeliverurl);

            var id = request("cid");
            if (id == null || id == "" || id == "0") {
                show_citytable();
                $(".tabclose").hide();
            }
            else {
                firstSelectChange(document.getElementById("ddlcount"), 2);
            }


        });





    </script>

</head>
<body>
    <form id="form1" runat="server">
        <asp:HiddenField ID="hdDels" runat="server" />
        <!--加载中显示的div-->
        <div id="loading-mask">
            <p class="loader" id="loading_mask_loader">
                <img src="../images/ajax-loader-tr.gif" alt="加载中..." /><br />
                请等待...
            </p>
        </div>
        <epc:Hint ID="Hint1" runat="server" HintImageUrl="../images/Control" />
        <div class="wrapper">
            <!--banner start-->
            <uc1:TogoBanner runat="server" ID="Banner" />
            <!--banner end-->
            <!--center start-->
            <div class="middle" id="anchor-content">
                <div id="page:main-container">
                    <div class="columns ">
                        <div class="side-col" id="page:left">
                            <uc3:left runat="server" ID="adleft" />
                        </div>
                        <div class="main-col" id="content">
                            <asp:ScriptManager ID="ScriptManager1" runat="server">
                            </asp:ScriptManager>
                            <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                                <ContentTemplate>
                                    <div class="main-col-inner">
                                        <div id="divMessages">
                                        </div>
                                        <div style="visibility: visible;" class="content-header">
                                            <h3 class="icon-head head-customer">
                                                <asp:Label runat="server" ID="pageType"></asp:Label></h3>
                                            <div style="width: 0px; height: 17px;" class="content-buttons-placeholder">
                                                <p style="" class="content-buttons form-buttons">
                                                    <asp:Button ID="Button1" runat="server" CssClass="button_1" OnClientClick="gourl('UserAddMoneyLog.aspx?uid='+Request('uid'));return false;"
                                                        Text="返回"></asp:Button>
                                                    <asp:Button ID="btSave" runat="server" CssClass="button_1" OnClick="btSave_Click" OnClientClick="showload_super()"
                                                        Text="保存"></asp:Button>
                                                </p>
                                            </div>
                                        </div>
                                        <!--start-->
                                        <div class="entry-edit">
                                            <div id="customer_info_tabs_account_content" style="">
                                                <div class="entry-edit">
                                                    <div class="entry-edit-head">
                                                        <h4 class="icon-head head-billing-address">帐单信息</h4>
                                                    </div>
                                                    <fieldset class="np">
                                                        <div class="order-address" id="order-billing_address_fields">
                                                            <div class="content">
                                                                <div class="hor-scroll">
                                                                    <table class="form-list" cellspacing="0">
                                                                        <tbody>

                                                                            <tr>
                                                                                <td class="label">
                                                                                    <label for="_accountwebsite_id">
                                                                                        商圈<span class="required">*</span></label>
                                                                                    </label>
                                                                                </td>
                                                                                <td class="value">


                                                                                    <asp:DropDownList ID="ddlDeliverGroup" runat="server" AppendDataBoundItems="true">
                                                                                    </asp:DropDownList>


                                                                                    <asp:TextBox ID="delivergroupText" placeholder="快速搜索商圈" Width="100" runat="server" CssClass="j_text"></asp:TextBox>


                                                                                </td>
                                                                                <td>
                                                                                    <small>&nbsp;</small>
                                                                                </td>
                                                                            </tr>

                                                                            <tr>
                                                                                <td class="label">
                                                                                    <label for="_accountwebsite_id">
                                                                                        账户 <span class="required">*</span></label>
                                                                                    </label>
                                                                                </td>
                                                                                <td class="value">
                                                                                    <asp:DropDownList ID="ddlState" runat="server" class="j_select" >
                                                                                    </asp:DropDownList>
                                                                                </td>
                                                                                <td>
                                                                                    <small>&nbsp;</small>
                                                                                </td>
                                                                            </tr>
                                                                            <tr>
                                                                                <td class="label">
                                                                                    <label for="_accountwebsite_id">
                                                                                        科目 <span class="required">*</span></label>
                                                                                    </label>
                                                                                </td>
                                                                                <td class="value">
                                                                                    <asp:DropDownList ID="ddlcount" onchange="firstSelectChange(this,1)" AppendDataBoundItems="true" runat="server" class="j_select" data-url="/ajaxHandler.ashx?method=getsubfeesort" >
                                                                                        <asp:ListItem Value="0">选择科目</asp:ListItem>
                                                                                    </asp:DropDownList>

                                                                                    <asp:DropDownList ID="ddljj_subsort" runat="server" class="j_select" onchange="secondSelectChange(this)" >
                                                                                        <asp:ListItem Value="0">选择子类</asp:ListItem>
                                                                                    </asp:DropDownList>

                                                                                    <asp:HiddenField runat="server" ID="hfjj_sub_id" Value="0" />

                                                                                </td>
                                                                                <td>
                                                                                    <small>&nbsp;</small>
                                                                                </td>
                                                                            </tr>

                                                                            <tr>
                                                                                <td class="label">
                                                                                    <label for="_accountwebsite_id">
                                                                                        日期 <span class="required">*</span></label>
                                                                                    </label>
                                                                                </td>
                                                                                <td class="value">

                                                                                    <asp:TextBox ID="tbAddDate" Width="160" onfocus="WdatePicker({readOnly:true,dateFmt:'yyyy-MM-dd'})" runat="server" CssClass="j_text"></asp:TextBox>



                                                                                </td>
                                                                                <td>
                                                                                    <small>&nbsp;</small>
                                                                                </td>
                                                                            </tr>

                                                                            <tr>

                                                                                <tr style="width: 300px;">
                                                                                    <td class="label">
                                                                                        <label for="_accountprefix">
                                                                                            金额 <span class="required">*</span></label></label>
                                                                                    </td>
                                                                                    <td class="value" style="width: 500px;">
                                                                                        <asp:DropDownList ID="ddlpoint" runat="server" class="j_select" Width="80">
                                                                                            <asp:ListItem Value="-1">支出</asp:ListItem>
                                                                                            <asp:ListItem Value="1">收入</asp:ListItem>
                                                                                        </asp:DropDownList>
                                                                                        <epc:TextBox runat="server" ID="tbpoint" CanBeNull="必填" RequiredFieldType="正数"
                                                                                            Width="80px" class="required-entry input-text"></epc:TextBox>元

                                                                               
                                                                                    </td>
                                                                                    <td>
                                                                                        <small>&nbsp;</small>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td class="label">
                                                                                        <label for="_accountprefix">
                                                                                            项目名称</label>
                                                                                    </td>
                                                                                    <td class="value" style="width: 500px;">
                                                                                        <epc:TextBox runat="server" ID="tbInve2" TextMode="MultiLine"
                                                                                            Width="200px" class="required-entry input-text"></epc:TextBox>

                                                                                    </td>
                                                                                    <td>
                                                                                        <small>&nbsp;</small>
                                                                                    </td>
                                                                                </tr>
                                                                        </tbody>
                                                                    </table>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </fieldset>
                                                </div>
                                            </div>
                                        </div>
                                        <!--end-->
                                    </div>
                                </ContentTemplate>
                            </asp:UpdatePanel>
                        </div>
                    </div>
                </div>
            </div>
            <!--foot start-->
            <uc2:Foot runat="server" ID="FootUC" />
            <!--foot end-->
        </div>
    </form>
</body>
</html>
<script type="text/javascript">
    function select_mycity(name, id) {

        var url = "UserAddMoneyDetail.aspx?cid=" + id + "&cname=" + escape(name);
        var id = Request("id");
        if (id != null && id != "") {
            url += "&id=" + id;
        }
        window.location = url;

    }

    function closediv() {
        alert("请选择城市");
    }
</script>
